package com.woniuxy.mapper;

import com.woniuxy.entity.Stu;

import java.util.List;

/**
 * @author 作者
 * @create 2025-06-16 16:45
 */
public interface StuDao {
    void insert(Stu stu) throws Exception;
    void deleteBySid(int sid)throws Exception;
    void update(Stu stu)throws Exception;
    Stu selectBySid(int sid)throws Exception;
    Stu selectBySname(String sname)throws Exception;
    List<Stu> selectAll()throws Exception;

}
